Small library for managing the current environment