add simple location class