Added add_pointer function

Did some minor refactoring.
Added a few more keys.

Todo: find their actual values!
Added left, right, top, and bottom positions for the pointer
Added basic menu functionality