Feature/environments

closes #14