Added ui modules.
Moved button code to a new file.
Added code for the component module.
Added more methods for the ui button.