Index: src/clientcommandline/main.cpp
===================================================================
--- src/clientcommandline/main.cpp	(revision fb602c6c09bb8ed836662550917a2d269f04526b)
+++ src/clientcommandline/main.cpp	(revision fb602c6c09bb8ed836662550917a2d269f04526b)
@@ -0,0 +1,62 @@
+/*
+    Copyright (C) 2015 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301  USA.
+*/
+
+// #include "testexecuter.h"
+// #include <settings.h>
+
+#include "siweatherclientconfig.h"
+
+#include <ecmdlineargs.h>
+#include <ecmdlineoption.h>
+#include <elibrary.h>
+
+#include <QCoreApplication>
+#include <QTimer>
+
+int main ( int argc, char** argv )
+{
+	ECmdLineArgs *args = new ECmdLineArgs();
+	EngSaS::CmdLineOptions cmdLineOptions;
+	cmdLineOptions << new ECmdLineOption("[register]", "r", QObject::tr("Register new station"));
+
+	foreach(ECmdLineOption *option, cmdLineOptions)
+		args->add(option);
+
+	// if --help or --version is used, init returns false
+	// and outputs the help
+	if(!args->init(argc, argv))
+		return 1;
+
+
+	QCoreApplication app(argc, argv);
+	QString error;
+	ELibrary::setupApplication(QString("SiWeatherStation"), QString(VERSION), error);
+
+	if(args->isSet("register")){
+// 		StationsRegister *stationsRegister = new StationsRegister();
+	}
+// 	else if(){
+// 		
+// 	}
+
+// 	TestExecuter test;
+	// allow to start the event loop before executing our code
+// 	QTimer::singleShot(1, &test, SLOT(load()));
+	return app.exec();
+}
