License added and many stylfe fixes