adjustments to the init method + hard coded test code for the
writemethods method, resulting in a working class file. #143 #121