Attempted to make a common resource

it's not pretty but it seems to be working...