Cleaned up resource_timer module and added some commenting and credit