Change upload path
Fix some rubymine code inspection errors
Db updates
Add .idea to gitignore
Fixes for json output and new db columns
Small fixes