added more compiler tests
added comment to the compiler module and added the resolve function to the compiler module