added core to app dir