Reordering frontend code in a separated module 'web'