moved lone directive and filter out of controllers/main and into
respective directories