added savetable
bug fixes
Merge pull request #2 from nawaf331/master

beta 1