implemented pic renaming and fixed compile bugs. many changes. removed obsolete piclib files