removes derp global variables
creates companies controller/route for updating applied attr
marking companies as applied works properly