Added VM API structure and modified views.