implemented standard directory setup, added some methods and attributes; not tested however