Smarter win position, add general functions, update readme