added module which sets crust variables and calls NR
removed unnecessary declarations
added comments, removed more unnecessary declarations