Replaced hard coded 'main.less'

replaced 'main.less' with dynamic file lookup to allow it to work with multiple less files in 'styles' and it's sub folders