fix dependency ordering and compression
added marker helper to name service
added basic constant protection