corrected many mistakes and added html parser