Added filtering functionality
Made filtering more functiona;
Tried using indexeddb as first adapter