Improvements to application library, adding environment property