added shared.application and moved app-specific files there, refactored and removed references