Structuring directories properly

All code now in src/
Added tests directory