removed basis type string parameter
added getters and setters
cleaned up class
fixed temporary directory