added web constansts, controller, events and view