Cleaned Pile and Player, added Javadoc