Update application structure and fix various css front end changes etc