first steps to rest service and setting up env.