updated to latest api docs
some exceptions on tests, finalized some syntax consistencies, removed metadata cache and verified tests.