Add new functions file under ./core