Made LegacyInstaller class abstract and fixed some CS and phpdoc nitpicks