basic project functionality with has_and_belongs_to_many functionality + sorting