add attribute reading and writing to various classes; create test.rb for running testing methods and functions.
write test.rb - not yet debbuged