Optimized project structure. Added buttons to change frames.