Split core into different files; made stores use the same interface as the other sequence sources.