diff --git a/.gitignore b/.gitignore
index 5b935a833..3a16c4fb4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ a.out
*project
*workspace
docs/_*
+bin
diff --git a/cmd/cgr-balancer/cgr-balancer_test.go b/cmd/cgr-balancer/cgr-balancer_test.go
index 4d3f477a5..fdaf5dc9b 100644
--- a/cmd/cgr-balancer/cgr-balancer_test.go
+++ b/cmd/cgr-balancer/cgr-balancer_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package main
import (
diff --git a/cmd/cgr-balancer/cgr-balanncer.go b/cmd/cgr-balancer/cgr-balanncer.go
index 21712a890..5d607aa6c 100644
--- a/cmd/cgr-balancer/cgr-balanncer.go
+++ b/cmd/cgr-balancer/cgr-balanncer.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package main
import (
diff --git a/cmd/cgr-balancer/raterlist.go b/cmd/cgr-balancer/raterlist.go
index 26a46db4a..54092e8c3 100644
--- a/cmd/cgr-balancer/raterlist.go
+++ b/cmd/cgr-balancer/raterlist.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package main
import (
diff --git a/cmd/cgr-rater/cgr-rater.go b/cmd/cgr-rater/cgr-rater.go
index 518f03f9f..440e31bf1 100644
--- a/cmd/cgr-rater/cgr-rater.go
+++ b/cmd/cgr-rater/cgr-rater.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package main
import (
diff --git a/cmd/cgr-rater/registration.go b/cmd/cgr-rater/registration.go
index 6ee5429be..fd7d4ac18 100644
--- a/cmd/cgr-rater/registration.go
+++ b/cmd/cgr-rater/registration.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package main
import (
diff --git a/timespans/activationperiod.go b/timespans/activationperiod.go
index 990d79a01..679b19a09 100644
--- a/timespans/activationperiod.go
+++ b/timespans/activationperiod.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/activationperiod_test.go b/timespans/activationperiod_test.go
index bc9701cf4..a5f157c9c 100644
--- a/timespans/activationperiod_test.go
+++ b/timespans/activationperiod_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/calldesc.go b/timespans/calldesc.go
index 86f1d62b7..41b11c8b4 100644
--- a/timespans/calldesc.go
+++ b/timespans/calldesc.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/calldesc_test.go b/timespans/calldesc_test.go
index 64557d391..fe453e8bd 100644
--- a/timespans/calldesc_test.go
+++ b/timespans/calldesc_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/destinations.go b/timespans/destinations.go
index fc976cc5a..bc2073a10 100644
--- a/timespans/destinations.go
+++ b/timespans/destinations.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/destinations_test.go b/timespans/destinations_test.go
index 037ee1196..424a7da1e 100644
--- a/timespans/destinations_test.go
+++ b/timespans/destinations_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/interval_test.go b/timespans/interval_test.go
index 082164f6b..78b20b8cb 100644
--- a/timespans/interval_test.go
+++ b/timespans/interval_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/intervals.go b/timespans/intervals.go
index fd237de57..02c5175a7 100644
--- a/timespans/intervals.go
+++ b/timespans/intervals.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/minute_buckets.go b/timespans/minute_buckets.go
index 908c7fcc1..7ef8aab42 100644
--- a/timespans/minute_buckets.go
+++ b/timespans/minute_buckets.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/minute_buckets_test.go b/timespans/minute_buckets_test.go
index 78911bc2b..59fbf6a9b 100644
--- a/timespans/minute_buckets_test.go
+++ b/timespans/minute_buckets_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/storage_interface.go b/timespans/storage_interface.go
index 16f0acd34..5087d77a7 100644
--- a/timespans/storage_interface.go
+++ b/timespans/storage_interface.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
/*
diff --git a/timespans/storage_mongo.go b/timespans/storage_mongo.go
index 42d9c9684..c066e2420 100644
--- a/timespans/storage_mongo.go
+++ b/timespans/storage_mongo.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/storage_redis.go b/timespans/storage_redis.go
index 66c225793..edaef1b87 100644
--- a/timespans/storage_redis.go
+++ b/timespans/storage_redis.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/tariff_plans.go b/timespans/tariff_plans.go
index 2e9f55016..5a9ea8c6a 100644
--- a/timespans/tariff_plans.go
+++ b/timespans/tariff_plans.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/tariff_plans_test.go b/timespans/tariff_plans_test.go
index 2f7698f57..60bcda211 100644
--- a/timespans/tariff_plans_test.go
+++ b/timespans/tariff_plans_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/timespans.go b/timespans/timespans.go
index e2f428553..88862f710 100644
--- a/timespans/timespans.go
+++ b/timespans/timespans.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/timespans_test.go b/timespans/timespans_test.go
index 0164498ab..ff8bf0c4c 100644
--- a/timespans/timespans_test.go
+++ b/timespans/timespans_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/userbudget.go b/timespans/userbudget.go
index 951bf22d5..92eb72510 100644
--- a/timespans/userbudget.go
+++ b/timespans/userbudget.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (
diff --git a/timespans/userbudget_test.go b/timespans/userbudget_test.go
index cbddea242..64ac9fc87 100644
--- a/timespans/userbudget_test.go
+++ b/timespans/userbudget_test.go
@@ -15,6 +15,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
+
package timespans
import (