initial app setup from old codebase