fixed error redirect
added git ignore
more tweeaks