moved views to crud structure