Initial classes to handle core data