Fixed bug, testing, added init-repository