removed testing code and obsolete files