Fixed parser and CLI, refactored code and project structure, fixed installation script for library and CLI system install.