extends servlet instead of a standalone server