There is a source code license available for Leadwerks. Have to email Josh about it, but it's there.