moved all common view files into layouts