Changed getByType to static method.
Updated TextLayer to support text-align.
General update