Added constructor, reload function and API testing remains