seperate out views into single file
convert to a proper pyramid application
view class method separation
ordering, limiting parameters and cleaner tests