Further definitions have been added

Removed some whitespaces added code formatting.
Adding definitions to Sys.UI namespace.
Added Sys.UI.Key test.