Created "Franework" class

Created the "Framework" class and moved contents of index.php into the
class.