updated license to new bsd 3
added test suite
new constants - app env