Delete main.R

Moving code to codes folder