Fixed some obsolete stuffs, (tools, ogmoloader, template).