added migration, fixed tests, precompiled assets