solve crash problem

server skeleton complete
DB connection started
need color logic