Restructured input and settings

Furthermore, rotation does not depend on fps anymore.