New build environment and quota support

Added basic support for ticket quotas and updated build environment