Add app initialization with foreman