Added setters and getters. Added constructor methods.