updated UI, search working. refactored into app.css and app.js