Fixed tests, removed unnedded db migration stuff, build file jar.