feat(*): one algo per file, Rethinkdb plugin for manager