fixed simple code violations
ref #4: first implementation of the load workspace feature
ref #4: implemented load workspace with unit tests