Big code commit

Release version of doge1 added. Old guff deleted.