Static resources working along with rest resources. Added Track entity and error handling to return JSON