Added folder creation to store the virtual machines in folders by account

Fixed a bug in the helper method to output methods.