setup env and example app