Add command "type".
Update.
Change source code structure.