Moved keyword functionality to methods, and implemented all post search with filtering by type, fixes #5