add links initialization
restructure application