removed no longer needed methods. added init function. finished buildURL