Introduced app service for shared data and functions. Moved auth service into auth module.