Initial commit of work previously done in layer0-java