Changed to Apache

Do what you want with this code, just don't claim ownership and then sue somebody else for using it. Also don't sue me for providing the code.