fixes #46, Implemented workspace support. Saving the session states
in separate files.