Added "framework" classes.

Credit goes to James Cho for providing the classes.