Refactor topnav and message options into directives; remove app controller