add an abstract data class for db access, it's too risky to go on without any check mechanism, continue to add activity