little cleaning

moved deleteEmptyLayers into layer_management & renamed
object_management