Start work on 2.0 - use api
More work on the rewrite, plus bugfix

Fix Brickimedia/brickimedia#92 for the rewrite
Rewrite now fully operational, few more changes before deploying
Final changes for 2.0 prior to deployment
Merge branch 'use-api'