Added object writer / reader, edited main so that it uses a array list instead of a string list