implements save function
implements open action
Merge pull request #22 from kamalpreetgrewal/master

implements save function