added procfile and fixed empty UI-ref bug