Minor modifications to the Terminal sample model regarding database and queue.
Major modifications and additional documentations to the README.