Moved all files from src to core directory