Added base of framework. Does not fully function yet.