initial commit of Stateful class with Beep now inheritting