Cleanup files into Flask directory structure