Updated index and main, reduced code to one controller
Added brewService factory