use zbatery in production and use thin in development environment