chore(optimizer): include API and scorer in main file