Disabled RAPL and remote services in default built

Added a few files that were missing from the repo

Fixed compilation bugs