Moved web stuff to resources in order to get the runnable jar working. 
Also introduced new resource loading method that works both within
eclipse and within a runnable jar.