Added documentation; Refactored function names; Resized input field buttons.