Improved data structure design, added roles and permissions, created rudimentary edit.