added some getters

added some getters and removed copy statements that result in NPEs. Creating new instances should largely be avoidable anyways.