Modernized the source code. Improved migrations, making them asynchronous.