added states resource

closes #58