RESHAPE: library structure changed to simplify installation process and usage.