Add getters and putters, and fix !id time behaviour.
Fixed minor bug in Main.hs

Added enough arguments to a data constructor.