Implemented value object and compliant getters

Added another helper function for padding output. Cleaned up a bit.