setup virtualenv and restructure package