refactored dbm/top_filter
fixed out_prefix errors
removed show and saved from main functions
added tests for the db/top_filters script