Reorganization into more files

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Move closer to Google's style guide

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>