file rename
Moved wiki and db interactions into their own files