added skeleton and input handler
hooked everything up