Merge pull request #187 from bhattigurjot/master

Sets functions correctly
corrects the size of entities in print preview and print
implements import and export
Merge pull request #189 from kamalpreetgrewal/master

corrects the size of entities in print preview and print