re added moved files (not handeled correctly by VS GIT plugin
Code cleanup in Core Library with ReSharper
Changed some long used as length for arrays to int