Initial commit of source from @Thelonedevil