Initial package structure

Move out prototypes, add packaging structure and a skeleton for console
scripts.

closes lakat/snakerace#7