Temporary work state save.
Fixed Tomcat configuration issue.
Still working bugs...
Refactored webapp startup.