Implement basic VM functionality

Supports only a couple instructions atm.