rm test file
add db and gateway package