added pre existing code for functionality

also replaced gulp with good old grunt