added input manager
got baics working with framework