cleaned up the main directory