Improved the setup process. If the selected database does not have the application schema then it will automatically write it on the first run.