Added attachment functionality to Course