refactored spyglass views and urls. Added first GET test