move things from 8ab9c268bf39dccbb1b01360208ec3dbfd64be36
added appropriate imports
updated readme