added initial logic framwork, needs to be tested
updated README