fixed things to work on linux server like changed Crud to CRUD
added mail template