add some entities for persistence layer.
add some test case.
update freakwork.