added baseURL funcationlity and loader from json static