Added basic gameloop and components