JQuery like selector framework (for learning purposes)