Added script
Added logic for the view
Adding logic and view to the application