Add inheritance Class model by John Resig.
Initial implementation.