fixed #24 , removed public api functions from stylesheet and moved to css