Improvedd exception handling
Fixed errors
Added install scripts