v0.1r1

Added tile class for future refactoring.