Refactor window Creation, added GameLoop class stub.