I'm not sure my shitty code will be useful :D I Highly recommend Examples section on the LeoECS GitHub page!
You could always release it on GIT and let others help clean up and optimize... Even use it as a learning tool--for yourself and others--only accept commits and changes that document how and why the change was made.