added skeleton code

from racer
added some more skeleton code

for game loop