Code refactor + added full commands documentation.