Restructured app to make it work on Open Shift.