Included StackExchange and refactored totally.