File structure reorganized. Proper VE initialization added.