bugs fixed connection to the database and added the launch base constructor from the constructor context