Added register shell and added histories to sheep class
Added more functionality to register. Added a method to DatabaseHandler