Added Resource Management System

Also added IDE module file
And updated many files to work with the new system