refactored system adapters
fix tests, added vagrant