legal framework for abandoned buildings