initial simple dg rhs code
Minor updates