Broke api out into multiple files, and fixed new_releases bug