To minimise costs I would ask a friendly builder to have a look over it for a slab of beer :) Experience is invaluable !
You could check with the local council if it has building entitlement and then you would need to know if it is a pile of old fill that has no bottom. I would then check...