created directives for lists and added styling