New main

New experimental functions work as expected, so i should merge them