prep for PEX integration and servlet

also DB setup