Feature/create own resource

Created own resource with `query` function. Wrote test for it and stuff.