Db switch according to environment
attempt to use events, stil WIP
User interface cleaning
remove commented code
Messages refactoring
base css