updated direction api and stripper and basic html template