spaceflight: level player and refactoring into smaller files