[WIP] Remove old features

This PR removes old stuff such as code for handling legacy systems and unused features such as Netbeans and Sun workshop.