lots of bug fixes, working with adapter and also started search algrithm kinda...