Initial check-in of code framework. Updated flowchart to reflect initial framework.