Layout and UI functionality partially done