Added copyright and python33 compatible