Introspect on DB to determine indexes for M-R

Previously, we trusted our metadata
Move the qu core application into its own directory
Added component system

This component system will allow people to use parts of Qu piece-meal,
as well as initialize it however they choose.