add core direcroty
write test, config to use sqlite memory database, going to write \core\user class