preparation for fronent

added frontend libraries and logic