make setup method public
removed unneeded method call
implement Meta class for TTL