Auto rapp installation

This PR enables the automatic installation of rapps - closes #191.