added statup batch for env, fixed servlet

TODO's:
replace web.xml with annotations
extract env variables to ignored file and provide their default values