Added class to the background api and fixed the readme.