Initial port to Python 3

Signed-off-by: Aaron <aaron@pelly.co>