Moved core files to their own folder