Finalized the constructor and finished up rest of
the API.