Make batman device configurable.

Please review #4 first.