Ios static library

Seperate the project into the engine which builds as a static library and an example game.