adding button class and begining to implement. Not working at the moment, still has a crash that needs fixing