Add main core files