First implementation of the RPM stuff

First implementation of the RPM stuff
See readme.mb for commands.