fixed DB, added payroll schema