A Class implementation inspired by Backbone classes