Moved all rust code into src