Finished wrapping API into class, Security done, Link generation done.