Bracket model view and controller

Started working on bracket model view and controller. Dont accept this yet as I will continue adding to it for now.