transformed to web app, added JNDI deployment methods and kinda changed the whole structure