Move DBConnector class to core directory
Created base model and topic model classes