connect to database added

queries: select * from messages; insert into messages --> username,
content.
could watch messageList and save each message in DB