Builder can now handle file uploads and new compounds are sent off to the database. Also includes a CompoundReference class for dealing with this relationship in the database.