Cleaning up main directory