move servlet configuration to annotations