Feat/db search

@armandopmj hey armando, can you code review this? i'll refactor later after mai and i get the client and server communicating

@lmle i'll hit you up after this gets merged