Improved formatting and comments and added capslock support
Removed unnecessary struct name
Improved syscalls, started malloc()