Adding UI

Change promises with callbacks;
Add jquery UI;