better app structure for dist to bedrock