Moved command building and structure types to subpackage
Started on database access classes

These classes operate closer to objects that the host and plug-ins will
use.