Fixed statistics & implemented api responses.