Improve namespace implementation

Abstract away app name wherever possible; centralize and simplify namespaces with importing; standardize constants

Signed-off-by: Andrew Phelps <andrew@phel.ps>