refactored main()
first stab at flask admin gui