split element library and client app