reorg folder structure

and replace mongodb with cassandra(todo)