intial framework commit based of nabeel's thesis