Update: move core ontology stuff into lib; setup foreman for them