foo
added license and some api controller stuff