Added main core files