Initial commit. Moved code out of kronboard