Removing db.php due to security reasons
Bug Fixes and Shift Check