Added some controller functionality
Rebuild partials to jade.