base and effects changes

base is now a module (and no longer declares global functions)
effect now uses a SpriteBatch to be drawn
Better rectangle-circle collision