modified basepy
modification of base.py
quick stuff
modified some files.