Cleaner code
added bibliography in pdf notes