Added infrastructure for Resources and definitions parser