Added some functionality for new ceilometer packages

Added base templates and did some re-factoring.