Completed createpile functionality, documented, added name on piles