Updated for 1.5.1

Updated for 1.5.1 and removed unused imports
Merge pull request #2 from davejavu/master

1.5.1 update