Move code monitors store into `enterprise/internal/database`
Created by: camdencheek
This moves the code monitors store into the enterprise/internal/database
package. Additionally, it adds a constructor method to the new EnterpriseDB
interface so it can easily be mocked from a passed-in db.