All building functionality for core data