added commonly used base classes
Minor changes with copyrights