Code improvements and new commands implementations. Added a TODO file