Refactor logging, fix a few import bugs, and fix HTTP res codes
Model Plugins, a few utilities and accompanying tests

Also moved ticker test to models/plugins
Finish up search feature