Technical/gameplay related modules

Created three modules for gameplay related stuff. I'd be glad for quick merging, it is simple and important for other people.