Error corrections

Corrected error in class StartUp - tried to reach private $prefix_db from outside "Member has only private access" error. Corrected "Undefined variable" error Corrected a "Missing return statement" warnings.
It would be great to pull it to the main project repository. Thanks