closes #16 - search type parameter

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Merge branch 'search' into develop