Virtual Environment Construction Method Using Class Library