cleaning up api into multiple files, adding literal constants.