Moved main.go to subpackage