Move future import to the top

All from __future__ imports have to be at the top of the file.
Merge pull request #338 from cXhristian/future-import-fix

Move future import to the top of the file