removed redundant code from database classes
moved alternative syntax back to View class, with some optimizations
changes
changes
changes
changes
refactoring
changes
small optimizations
added dock blocks
fixes after static code analysis