coffescript and haml fpr reducing boilerplate code and improving productivity; module structure improved further