Implement WebActivator and Layout