Turn main/api into entry_points