added simple router, moved libs to subfolders