Moving structure to separate module.
Creating admin class.
Adding simple mail function.
Updated page class and template.
Fixed select call.