Rewrite installer

This PR tidy's up the install process and converts over to fs-extra completely and removes rimraf.