removed unnecessary foreign_key
modified bx_resouece_nodes column names by self table name
improved faster rendering of resource tree