Clean up base directory