Moved code to a package and added app script
Added setup.py with basic info
Added license text (BSD 3-clause)
Added initial sphinx docs