Added an interface for implements.
Also renamed Constants to ModConstants so it won't interfere with
standard libraries.