refactor companies & jobs controllers to inherit from main ctrl