added setup-script and moved library to src/ directory.