Changed Internals, added isEmpty()

tags are now stored in a collection and sugar-methods are used in it,
instead of ugly php array stuff