fixed a number of outstanding issues from earlier today

the data model now supports hierarchical tags
add database copy script to pull the app's db