Move host to thread. Added basic crud ops.