Refined more methods

Works:
- Search
- Add Task
- Sort
- Display

Needs Improvement:
- Delete
- Edit
Added a basic commandType interface

To do:
- make CommandType an abstract class
- refine CommandType to accept more methods