Code cleanup
Adds library loading when autoactivity is created
Downloading library from url works