raised revision number to 1.3
improved class comment
partial refactor and improved documentation
improved documentation