Changed the architecture of Logic

> Command objects are moved from Parser and is now handled by Logic