Add core and dao modules. Dao module has tests