Better encapsulation

Encapsulating the code to display tables into two different files. So that, in case there is a change in the definition of the main table in the DB, (like addition or removal of columns), the changes need to be made only in one file.

There are two different files.

- One file will display the table without any form element
- The other file will display the table with appropriate form elements.

**Note** More files may need to be added. Because for issue #6 one more file will be required in which the assignor can't change the comments but can mark the task as completed.