html templates ported to codeigniter, calendar ajax backend started