Fix misc type errors.
Correct Locator.
Add LifeCycle methods.
Add glfw, input and gfx. Add Client.