Implemented propel 2 and fixed the installer script.