Refactor brainstorm controller to use a service for firebase calls

Everythign works, but this could use some more refactoring to clean it up