#20 Add PriorityQueue.
#20 Add UT for PriorityQueue
#20 record the connection state to db
#20 Show the connected state on the web page
#20 Change the index page to show host state

Now the page render the state directly, instead of get the state through json.
close #20