Merge pull request #1 from mic159/master

Fix, and Switch to flask-admin