remove lab stuff and move the source code to top level