Implemented FORGE-862

Took me much more time time that I thought, not so trivial finally.
The install algorithm could be improved probably, but the basics should work.

Please let me know if you have any questions.