added setup script and simplified package setup