Completed install() method. Added getSingle() method. Minor bugfixes and cleanup