Clean up main directory