First implementation of a lot of commands.
Fixed a small bug in feature creation.
Some documentation.
Remove debug prints.